﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSP.Model.CSP;

namespace CSP.Dao.IObjectDaos.CSP
{
    public interface IAuthenticationDao : ICSPDao<Authentication>
    {
        ICollection<Authentication> GetByUser(string userName);

        Authentication GetByIdAndUser(int id, string userName);

        Authentication RemoveByUserAndCertificateType(string userName, int certificateType);

        Authentication RemoveByIdAndUser(int id, string userName);

    }
}
